var util = require('../../utils/util.js');
var api = require('../../config/api.js');
var app = getApp();

Page({
  data: {
    addressList: [],
    helpContent: []
  },
  onLoad: function () {
    this.getInsuranceContent();
  },
  onReady: function () {
    // 页面渲染完成
  },
  onShow: function () {
    // 页面显示

  },
  onHide: function () {
    // 页面隐藏
  },
  onUnload: function () {
    // 页面关闭
  },
  getInsuranceContent: function(){
    let that = this;
    util.request(api.ConfRequest, {type:'INSURANCE_DESCRIPTION'}).then(function(res){
      if('200'==res.code){
        that.setData({
          helpContent: res.responseBody
        });
      }
    });
  }
})